package com.JobFind.DAO;

import java.util.List;

import com.JobFind.model.TbRecruitment;

public interface IRecruitmentDAO {
	
	public List<TbRecruitment> getJobList(Integer userId,String sQuery) throws Exception;
	
	public TbRecruitment getRecruitmentInfoById(Integer recruitmentId) throws Exception;
	
	public List<TbRecruitment> getRecruitInfoByCompanyId(Integer companyId) throws Exception;
	
	public Integer updateSomeRecritInfo(Integer recruitmentId,String recruitmentPosition,String recruitmentInfo,String recruitmentRemarks) throws Exception;
	
	public Integer deleJob(Integer recruitmentId) throws Exception;
	
	public Integer addRecruitmnet(TbRecruitment recruitmentBean) throws Exception;
	
	public Integer upRecritmentAreNum(Integer recruitmentId) throws Exception;
	
	public String getCompanyNameByRecId(Integer recruitmentId) throws Exception;
	
	public Integer getCompanyIdByRecId(Integer recruitmentId) throws Exception;
}
